﻿using In66.Net.EventBus.Cap;

namespace Ord.Api.Models.Events
{
    public class WarehouseQtyBlockedModel
    {
        public long OrderId { get; set; }

        public bool IsSuccess { get; set; }

        public string Remark { get; set; } = string.Empty;
    }

    /// <summary>
    /// 锁定库存事件
    /// </summary>
    [Serializable]
    public class WarehouseQtyBlockedEvent : Event<WarehouseQtyBlockedModel>
    {
        public WarehouseQtyBlockedEvent()
        {
        }

        public WarehouseQtyBlockedEvent(string source, WarehouseQtyBlockedModel eventData) : base(source, eventData)
        {

        }
    }
}
